
namespace JTZY.Model.Store.Dto
{
    /// <summary>
    /// 打印机列表查询对象
    /// </summary>
    public class CorecmsprinterQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 打印机列表输入输出对象
    /// </summary>
    public class CorecmsprinterDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public int Id { get; set; }

        public string Name { get; set; }

        public string Code { get; set; }

        public string ClientId { get; set; }

        public string ClientSecret { get; set; }

        public string MachineCode { get; set; }

        public string Msign { get; set; }

        [Required(ErrorMessage = "打印机名称不能为空")]
        public string PrinterName { get; set; }

        public string Phone { get; set; }

        public string AccessToken { get; set; }

        public string RefreshToken { get; set; }

        public int? ExpiresIn { get; set; }

        public DateTime? ExpiressEndTime { get; set; }

        public string Parameters { get; set; }

        public DateTime? CreateTime { get; set; }

        public bool IsDefault { get; set; }

        public bool IsOpen { get; set; }

        public int? StoreId { get; set; }
        public string UserId { get; set; }



        [ExcelColumn(Name = "是否默认")]
        public string IsDefaultLabel { get; set; }
    }
}